EMT Practice Test

1. Question Content...


Question List

Question1: Which of the following is the device file name for the second partition on the only SCSI drive?

Question2: A junior systems administrator is tasked with providing the network_administrators group the ability to perform sudo without prompting for a password.
Which of the following steps should the administrator perform to accomplish this task? (Choose two.)

Question3: An administrator needs to make an application change via a script that must be run only in console mode. Which of the following best represents the sequence the administrator should execute to accomplish this task?

Question4: A junior administrator of a physical server receives log messages indicating the out-of-memory killer has been active. All memory slots are in use on the motherboard, but additional disk space is available. Space has been allocated for a swap file.
Which of the following should the administrator use to reduce the output of memory messages?

Question5: An administrator would like to securely connect to a server and forward port 8080 on a local machine to port 80 on the server. Which of the following commands should the administrator use to satisfy both requirements?

Question6: While troubleshooting server issues, a Linux systems administrator obtains the following output:
[rootGhost ~]# total free -m used free shared buf f/cache available Mem: 3736 3598 88 2 48 29 Swap: 2047 1824 223 Which of the following best describes the state of the system?

Question7: A storage administrator in a virtualized environment has been told by a user that there is no space left on the volume to which the user can write. However, a check reveals that there is
20GB of unused space.
Which of the following explains the discrepancy?

Question8: A systems administrator is configuring options on a newly installed Linux VM that will be deployed to the Pacific time zone.
Which of the following sets of commands should the administrator execute to accurately configure the correct time settings?
cd /etc

Question9: A Linux administrator is setting up a testing environment and needs to connect to a separate testing server using the production server name. The administrator needs to override the hostname that the DNS is returning in order to use the test environment. Which of the following commands should be run on each of the testing systems to BEST meet this goal?

Question10: A Linux administrator is testing connectivity to a remote host on a shared terminal. The administrator wants to allow other users to access the terminal while the command is executing.
Which of the following commands should the administrator use?

Question11: A systems administrator is tasked with preventing logins from accounts other than root, while the file /etc/nologin exists. Which of the following PAM modules will accomplish this task?

Question12: A Linux administrator is testing a configuration script and wants to change the hostname of a workstation temporarily, but it must return to its assigned workstation name after reboot.
Which of the following is the BEST command for the administrator to use?

Question13: A Linux administrator created a new file system. Which of the following files must be updated to ensure the filesystem mounts at boot time?

Question14: A new application container was built with an incorrect version number. Which of the following commands should be used to rename the image to match the correct version 2.1.2?

Question15: A system ran out of storage space on a particular mount and will not allow anything to be written to disk. The df command shows there are 6GB free on the mount, and there is no inode exhaustion. This issue has happened before due to a known large log file that was not being rotated. The administrator remembers the file name but cannot remember the location of the log file or which process is writing to it.
Which of the following would be the BEST solution to correct this issue while maintaining availability?

Question16: An administrator runs ping comptia. org. The result of the command is:
ping: comptia.org: Name or service not known
Which of the following files should the administrator verify?

Question17: A Linux administrator was asked to run a container with the httpd server inside. This container should be exposed at port 443 of a Linux host machine while it internally listens on port 8443.
Which of the following commands will accomplish this task?

Question18: A Linux administrator is testing a new web application on a local laptop and consistently shows the following 403 errors in the laptop's logs"

The web server starts properly, but an error is generated in the audit log. Which of the following settings should be enabled to prevent this audit message?

Question19: A security analyst is monitoring the network to identify latency or slowdowns during a vulnerability scan. Which of the following functions will best achieve this?
bash
function x() {
info=$(ping -c 1 $1 | awk -F "/" 'END {print $5}')
echo "$1 | $info"
}

Question20: Which of the following is the best tool for dynamic tuning of kernel parameters?

Question21: A Linux administrator is helping the security team troubleshoot an SELinux policy violation incident. Which of the following would be the BEST utility command to display SELinux violation and AVC denial messages?

Question22: Which of the following directories contains binaries that only a root user should run?

Question23: After connecting to a remote host via SSH, an administrator attempts to run an application but receives the following error:
[user@workstation ~]$ ssh admin@srv1
Last login: Tue Mar 29 18:03:34 2022
[admin@srvl ~] $ /usr/local/bin/config_manager
Error: cannot open display:
[admin@srv1 ~] $
Which of the following should the administrator do to resolve this error?

Question24: A Linux engineer set up two local DNS servers (10.10.10.10 and 10.10.10.20) and was testing email connectivity to the local mail server using the mail command on a local machine when the following error appeared:

The local machine DNS settings are:

Which of the following commands could the engineer use to query the DNS server to get mail server information?

Question25: An administrator completed the configuration of the in-addr.arpazone files for an organization.
Which of the following commands should the administrator use to verify the configuration is working as expected?

Question26: A Linux administrator modified the SSH configuration file. Which of the following commands should be used to apply the configuration changes?

Question27: Which of the following is the template for the grub.cfg file?

Question28: When logging in, an administrator must use a temporary six-digit code that is displayed on a key fob.
Which of the following has been implemented?

Question29: A Linux administrator is scheduling a system job that runs a script to check available disk space every hour. The Linux administrator does not want users to be able to start the job.
Given the following:

The Linux administrator attempts to start the timer service but receives the following error message:

Which of the following is MOST likely the reason the timer will not start?

Question30: A Linux systems administrator receives reports from various users that an application hosted on a server has stopped responding at similar times for several days in a row. The administrator logs in to the system and obtains the following output:
Output 1:

Output 2:

Output 3:

Which of the following should the administrator do to provide the BEST solution for the reported issue?

Question31: Ann, a Linux administrator, is storing scripts in a private Git repository.
Which of the following commands should Ann use to avoid entering the login and password every time Ann commits change?

Question32: Which of the following should a company use to reduce the latency of application that are deployed on a virtual private cloud?

Question33: A Linux systems administrator is updating code. After completing the update, the administrator wants to publish the updated code without including the configuration files. Which of the following should the administrator use to accomplish this task?

Question34: A junior administrator is migrating a virtual machine from a Type 1 hypervisor to a Type 2 hypervisor.
To ensure portability, which of the following formats should the administrator export from the Type
1 hypervisor to ensure compatibility?

Question35: A systems administrator wants to install a new application that requires the newmod kernel module. Which of the following commands should the systems administrator use?

Question36: An administrator reviews the following configuration file provided by a DevOps engineer:

Which of the following would the application parsing this file MOST likely have to support?

Question37: Users are experiencing high latency when accessing a web application served by a Linux machine. A systems administrator checks the network interface counters and sees the following:

Which of the following is the most probable cause of the observed latency?

Question38: Users in the payroll department are not configured to use DNS due to security concerns. The users ask the junior Linux administrator to configure their workstations to access the payroll server at 192.168.204.11 by the name "Payroll". Which of the following commands should the administrator issue to meet this request?

Question39: A Linux administrator needs to create a symlink for /usr/local/bin/app-a, which was installed in
/usr/local/share/app-a. Which of the following commands should the administrator use?

Question40: Two specific users need access to a directory owned by root where backups are located.
Which of the following commands would BEST ensure the specified users can access the backup files?

Question41: An administrator wants to know the amount of memory installed on a Linux server.
Which of the following commands can be used to accomplish this task?

Question42: A systems administrator has finished building a new feature for the monitoring software in a separate Git branch.
Which of the following is the BEST method for adding the new feature to the software's master branch?

Question43: An administrator receives a USB drive and wants to make an exact copy of the disk before starting to work on it. One of the partitions on the USB drive was mounted as /dev/sdc1.
Which of the following commands should the administrator use?

Question44: Users have been unable to save documents to /home/tmp/temp and have been receiving the following error:
Path not found
A junior technician checks the locations and sees that /home/tmp/tempa was accidentally created instead of /home/tmp/temp. Which of the following commands should the technician use to fix this issue?

Question45: Which of the following BEST describes build automation?

Question46: Given the output below:
[root@appserver ~]# rm config.txt
rm: remove regular file 'config.txt'? yes
rm: cannot remove 'config.txt': Operation not permitted
Which of the following might be the cause?

Question47: Which of the following should be used to verify the integrity of a file?

Question48: A systems administrator is gathering information about a file type and the contents of a file. Which of the following commands should the administrator use to accomplish this task?

Question49: A file server is sharing a directory called /share between team members inside a company. The fileshare needs to be moved from serverA to /newshare located on serverB with all permissions and attributes preserved. Which of the following commands would BEST achieve this task?

Question50: An administrator installed an application from source into /opt/operations1/ and has received numerous reports that users are not able to access the application without having to use the full path /opt/operations1/bin/*. Which of the following commands should be used to resolve this issue?

Question51: A Linux administrator is troubleshooting SSH connection issues from one of the workstations.
When users attempt to log in from the workstation to a server with the IP address 104.21.75.76, they receive the following message:

The administrator reviews the information below:


Which of the following is causing the connectivity issue?

Question52: A Linux administrator tried to copy files to a remote server but received an error message indicating a lack of free space on the disk. The administrator issued a df command and verified adequate free space and inodes on the filesystem.
Which of the following commands is the BEST way to diagnose the issue?

Question53: A new corporate policy states that Bluetooth should be disabled on all company laptops.
Which of the following commands would disable the use of Bluetooth?

Question54: A Linux administrator is restoring the SELinux contexts on an entire system. Which of the following commands is the BEST option to complete this task?

Question55: A cloud engineer needs to change the secure remote login port from 22 to 49000.
Which of the following files should the engineer modify to change the port number to the desired value?

Question56: A user has been locked out of an account due to too many failed password attempts. Which of the following commands will unlock the user's account?

Question57: A Linux administrator is tasked with adding users to the system. However, the administrator wants to ensure the users' access will be disabled once the project is over. The expiration date should be 2021- 09-30. Which of the following commands will accomplish this task?

Question58: A Linux administrator recently reprovisioned a new corporate web server to replace a legacy one.
To minimize the impact on the company's users, the administrator modified the network and DNS settings of the new server to be the same as the legacy server.
When attempting to log in to the new server remotely over SSH, the following error message is displayed:
WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!
Which of the following should the administrator do to resolve the issue?

Question59: A Linux administrator needs to resolve a service that has failed to start. The administrator runs the following command:

The following output is returned

Which of the following is MOST likely the issue?

Question60: A Linux administrator encounters the following error in the Apache log files:
css
SQLSTATE[HY000] [2002] Permission denied
Which of the following commands should the administrator run to safely fix this issue?

Question61: A junior administrator needs to unload an older video kernel module.
Which of the following commands would BEST accomplish this task?

Question62: When requesting SSH access to a remote system, a user accidentally emailed the id_rsa key to the administrator. Which of the following should the user do NEXT?

Question63: Which of the following is modified to reconfigure the boot environment?

Question64: Which of the following servers provides encrypted tunnel SOCKS services?

Question65: A Linux administrator created a new log file in /var/log/newlogto monitor a newly installed application. The administrator is now configuring parameters of the file so it will be rotated on a weekly basis or when it becomes larger than 1MB in size. In addition, five rotations of the file should exist in the /var/logdirectory.
Which of the following should be added to the /etc/logrotate.conffile to meet this objective?

Question66: Which of the following is a function of a bootloader?

Question67: A junior administrator is setting up a new Linux server that is intended to be used as a router at a remote site.
Which of the following parameters will accomplish this goal?

Question68: A systems administrator is tasked with mounting a USB drive on a system. The USB drive has a single partition, and it has been mapped by the system to the device /dev/sdb.
Which of the following commands will mount the USB to /media/usb?

Question69: Users are reporting that a Linux server is responding slowly. A systems administrator troubleshooting the server issue sees the following iostat output, with %iowait at 50.38. Which of the following is most likely the issue?

Question70: During the final step of staging new Linux hardware, GRUB2 is installed to the system drive.
Which of the following BEST describes the role of GRUB2 in a new Linux installation?

Question71: A Linux administrator needs to back up the folder /usr/domain, and the output must be a gzip compressed tar.
Which of the following commands should be used?

Question72: A systems administrator suspects a process with a PID of 2864 is consuming resources at an alarming rate. The administrator uses the command renice -n -5 -p2864, but it does not solve the issue. Which of the following commands should the administrator execute to correct the issue?

Question73: A Linux administrator has defined a systemd script docker-repository.mount to mount a volume for use by the Docker service. The administrator wants to ensure that the Docker service does not start until the volume is mounted. Which of the following configurations needs to be added to the Docker service definition to best accomplish this task?

Question74: A Linux administrator recently changed the IP addresses of all the web servers from 10.10.50.x to
10.10.100.x. The administrator needs to update the serverlist.txt file to reflect the change.
The file contains the following:
10:WebSvr01:10.10.50.21:Main
11:WebSvr02:10.10.50.22:Acconting
12:WebSvr03:10.10.50.23:Intranet
20:NFS01:10.10.20.21:FileServer
30:SMTP01:10.10.30.31:Email
Which of the following commands will change the IP addresses and update the files in place?

Question75: Joe, a user, is unable to log in to the system. The Linux administrator checks the /etc/passwd file and reviews the following output:
Joe:x:1002:1002::/home/Joe:/sbin/nologin
Which of the following should the administrator do to fix this issue?

Question76: Joe, a user, creates a short shell script, shortscript.sh, and saves it in his home directory with default permissions and paths. He then attempts to run the script by typing ./shortscript.sh, but the command fails to execute.
Which of the following commands would have allowed the script to run?

Question77: Users are unable to create new files on the company's FTP server, and an administrator is troubleshooting the issue. The administrator runs the following commands:

Which of the following is the cause of the issue based on the output above?

Question78: A Linux administrator has installed a web application firewall in front of a web server running on HTTP port 8080 and successfully started the HTTP server. However, after opening the application URL in an Internet browser, the administrator discovered that the application does not work. The administrator performed the following diagnostic steps:
Output of sysctl -acommand:

Output of iptables -Lcommand:

Output of netstat -nltop | grep "8080":

Which of the following is the NEXT step the administrator should perform to permanently fix the issue at the kernel level?

Question79: Which of the following is a function of a bootloader?

Question80: A newly created container has been unable to start properly, and a Linux administrator is analyzing the cause of the failure.
Which of the following will allow the administrator to determine the FIRST command that is executed inside the container right after it starts?

Question81: A user needs to modify the IP address of a laptop. Which of the following files can be used to configure the network interface named eth0?

Question82: An administrator made a change to a system's network configuration. Which of the following best represents what the administrator should do to have the new configuration take effect?

Question83: Which of the following technologies can be used as a central repository of Linux users and groups?

Question84: A Linux administrator needs to expand a volume group using a new disk. Which of the following options presents the correct sequence of commands to accomplish the task?

Question85: Which of the following commands should a technician use to create an administrative account for the username Joe?

Question86: A Linux administrator execute the following steps in this order:
1. Changes some software code
2. Commits the changes to the Git repository
3. Triggers a job to compile
4. Execute some test scripts
5. Packages the software package
6. Publishes the software packages to a package repository
Which of the following orchestration processes is the administrator using?

Question87: A Linux administrator opens a ticket to have an external hard drive mounted. As a security policy, external storage kernel modules are disabled.
Which of the following is the BEST command for adding the proper kernel module to enable external storage modules?

Question88: The Apache web server was recently installed on a Debian/Ubuntu server. The web server fails and a review of log messages on another partition reveals the installation was not completed properly due to lack of disk space. After clearing the files, the systems administrator has requested the installation to be performed again.
Which of the following command lines will perform this task? (Choose two.)

Question89: A junior systems administrator has generated a PKI certificate for SSH sessions. The administrator would like to configure authentication without passwords to remote systems. Which of the following should the administrator perform?

Question90: A systems administrator pressed Ctrl+Z after starting a program using the command line, and the shell prompt was presented. In order to go back to the program, which of the following commands can the administrator use?

Question91: A user is reporting unusual slowness when trying to transfer a large file to an NFS server from a workstation. The administrator runs tracepath and gets the following output:

Which of the following BEST describes the issue and a possible solution?

Question92: A junior Linux administrator needs to ensure a service will start on system boot.
Which of the following commands should be used to accomplish this task?

Question93: A Linux user reported the following error after trying to connect to the system remotely:
ssh: connect to host 10.0.1.10 port 22: Resource temporarily unavailable The Linux systems administrator executed the following commands in the Linux system while trying to diagnose this issue:

Which of the following commands will resolve this issue?

Question94: A Linux administrator is configuring a log collector agent to monitor logs in /var/log/collector. The agent is reporting that it cannot write to the directory. The agent runs as the logger user account.
The administrator runs a few commands and reviews the following output:
makefile
Output 1:
drwxr-xr-x. 1 root root 0 Oct 20:13 collector
Output 2:
file: /var/log/collector
owner: root
group: root
user::rwx
group::r-x
mask::rwx
other::r-x
Output 3:
uid=1010(logger) gid=1010(monitor) groups=1010(monitor)
Which of the following is the best way to resolve the issue?

Question95: A junior Linux administrator is installing patches using YUM. The administrator issues the following command:
yum list installed
The output of the command is as follows:

Given this scenario and the output, which of the following should the administrator do to address this issue?

Question96: An administrator clones a Git repository onto a local laptop. While inspecting the code, the administrator notices a bug and wants to fix it.
Which of the following is the BEST command for the administrator to use to test a patch for the prior to updating the version saved in master?

Question97: SIMULATION
A new drive was recently added to a Linux system. Using the environment and tokens provided, complete the following tasks:
- Create an appropriate device label.
- Format and create an ext4 file system on the new partition.
The current working directory is /.

Question98: A systems administrator created a new Docker image called test. After building the image, the administrator forgot to version the release.
Which of the following will allow the administrator to assign the v1 version to the image?

Question99: Users have reported that the interactive sessions were lost on a Linux server. A Linux administrator verifies the server was switched to rescue.target mode for maintenance. Which of the following commands will restore the server to its usual target?

Question100: A systems administrator received a request to change the hostname to a new name. Which of the following file configurations should be changed to fix the hostname in the server?

Question101: Following the migration from a disaster recovery site, a systems administrator wants a server to require a user to change credentials at initial login. Which of the following commands should be used to ensure the aging attribute?

Question102: Users are reporting collaborate.company.comis inaccessible from the user VLAN, but there is no issue connecting to the system's web page from the DMZ. Given the following outputs from commands run on the system:

Which of the following explains why users are unable to access the system from the user VLAN, and how can the administrator remediate this issue?

Question103: Which of the following Linux server roles should be installed to monitor and log local web traffic?

Question104: The following represents a partial listing of a user's .bashrc file:
HISTSIZE=800
HISTFILESIZE=1000
umask 2002
HISTCONTROL=ignoreboth
When the user opens a terminal, an error message appears:
Octal number out of range
Which of the following lines in the partial .bashrc should be modified to prevent the error from occurring?

Question105: A user reported issues when trying to log into a Linux server. The following outputs were received:

Given the outputs above, which of the following is the reason the user is unable to log in to the server?

Question106: A system administrator has deployed a Linux server based on an Anaconda process with all packages and custom configurations necessary to install a web server role.
Which of the following could be used to install more Linux servers with the same characteristics?

Question107: Due to security policies, a restriction was implemented that forbids direct access to the database server. The junior administrator needs to connect using SSH tunneling.
Which of the following commands allows the junior administrator to connect from a desktop?

Question108: An administrator needs to mount the shared NFS file system testhost:/testvolumeto mount point /mnt/testvoland make the mount persistent after reboot.
Which of the following BEST demonstrates the commands necessary to accomplish this task?

Question109: An administrator is trying to access a server in a cloud via SSH but is unable to log in. The administrator determines the company's IP address has been blocklisted on the server.
Which of the following should the administrator do to prevent being blocked in the future?

Question110: A Linux team is using Git to version a set of custom scripts. A team member has made an update to a script and published the changes to the repository.
Which of the following is the BEST way to retrieve the latest changes to the administrator's local working copy?

Question111: A DevOps engineer pushed the updated configuration to an existing branch of a remote Git repository. Which of the following commands should the Linux administrator use to obtain these configuration changes?

Question112: A systems administrator created a user cron to run a scheduled database backup cronjob on the server at 1 a.m. every day. The following is the cronjob syntax:
0 1 * * * /bin/sh backup.sh
The backups, however, are not being created.
When checking the crontab file, the administrator sees the following error:
/var/spool/cron/crontab/cron: Permission denied
Which of the following will permit the cronjob to execute?

Question113: A systems administrator is tasked with changing the default shell of a system account in order to disable iterative logins. Which of the following is the BEST option for the administrator to use as the new shell?

Question114: Which of the following is used in unattended server installation via PXE?

Question115: A Linux administrator needs to disable the Sendmail service on a Linux server and prevent it from being started manually and during boot.
Which of the following is the BEST command to do this?

Question116: A Linux administrator has configured a Linux system to be used as a router. The administrator confirms that two network adapters are properly installed and functioning correctly. In addition, the output of the iptables -Lcommand appears to contain a complete firewall configuration.
Which of the following commands does the administrator need to issue for the router to be fully functional?

Question117: A user wants to list the lines of a log, adding a correlative number at the beginning of each line separated by a set of dashes from the actual message.
Which of the following scripts will complete this task?

Question118: A systems administrator needs to connect to a remote Linux machine to run system updates from within a graphical interface. Which of the following should the administrator use?

Question119: What is the first program that is usually started, at boot time, by the Linux kernel when using SysV init?

Question120: A Linux engineer receives reports that files created within a certain group are being modified by users who are not group members. The engineer wants to reconfigure the server so that only file owners and group members can modify new files by default. Which of the following commands would accomplish this task?

Question121: A junior systems administrator is creating a cron job. The cron job requirements are as follows:
- Run the hello.shscript every hour (24 times in one day).
- Run it on Monday only.
Given this scenario, which of the following crontab options should be configured to meet these requirements?

Question122: A systems engineer has deployed a new application server, but the server cannot communicate with the backend database hostname. The engineer confirms that the application server can ping the database server's IP address. Which of the following is the most likely cause of the issue?

Question123: Based on the given command:
find /home/user1 -type f -name "*.txt" -size +100M
Which of the following will the command accomplish?

Question124: Which of the following files would a junior systems administrator check to verify DNS server settings?

Question125: A non-privileged user is attempting to use commands that require elevated account permissions, but the commands are not successful. Which of the following most likely needs to be updated?

Question126: A systems administrator received a notification that a system is performing slowly. When running the top command, the systems administrator can see the following values:

Which of the following commands will the administrator most likely run NEXT?

Question127: A Linux administrator needs to run a web application on a server that requires the use of a desktop web browser to enter the final configuration information. The administrator determines the server is running in multi-user mode. The administrator verifies that a web browser is installed on the server and that it has a display manager installed. Which of the following commands will best allow the administrator to temporarily use the web browser on the server?

Question128: A systems administrator is troubleshooting connectivity issues and trying to find out why a Linux server is not able to reach other servers on the same subnet it is connected to.
When listing link parameters, the following is presented:

Based on the output above, which of following is the MOST probable cause of the issue?

Question129: After installing a new version of a package, a systems administrator notices a new version of the corresponding, service file was Installed. In order to use the new version of the, service file, which of the following commands must be Issued FIRST?

Question130: A cloud engineer needs to block the IP address 192.168.10.50 from accessing a Linux server.
Which of the following commands will achieve this goal?

Question131: While installing third-party software, a technician wants to monitor logs on the system continuously.
Which of the following commands should the technician issue to monitor the logs?

Question132: A systems administrator observes high latency values when reaching a remote web server.
Which of the following commands will help determine and isolate issues on the network side?

Question133: An administrator created an initial Git repository and uploaded the first files. The administrator sees the following when listing the repository:

The administrator notices the file .DS.STORE should not be included and deletes it from the online repository. Which of the following should the administrator run from the root of the local repository before the next commit to ensure the file is not uploaded again in future commits?

Question134: A systems administrator frequently connects to a remote host via SSH and a non-standard port.
The systems administrator would like to avoid passing the port parameter on the command line every time. Which of the following files can be used to set a different port value for that host?

Question135: Ann, a security administrator, is performing home directory audits on a Linux server. Ann issues the su Joe command and then issues the ls command. The output displays files that reside in Ann's home directory instead of Joe's. Which of the following represents the command Ann should have issued in order to list Joe's files?

Question136: A Linux administrator needs to determine whether a hostname is in the DNS. Which of the following would supply the information that is needed?

Question137: A user creates and installs a Linux VM on a local workstation. The VM can only connect to the local workstation.
Which of the following BEST represents the default virtual network configuration in this instance?

Question138: A Linux administrator needs to remove software from the server.
Which of the following RPM options should be used?

Question139: A systems administrator has received reports of intermittent network connectivity to a particular website. Which of the following is the BEST command to use to characterize the location and type of failure over the course of several minutes?

Question140: An administrator thinks that a package was installed using a snap. Which of the following commands can the administrator use to verify this information?

Question141: A systems administrator is cloning a system partition /dev/sda1 to /dev/sdc1. Which of the following commands would allow the administrator to accomplish this task most efficiently?

Question142: A systems administrator is creating new user accounts on several Linux machines and wants to automate the process from a Linux system used for operations. In this operations system, the list of servers is located in the /home/user/serverslist file and the list of user accounts is located in the
/home/user/userslist file. Which of the following scripts will help accomplish this task?

Question143: A user wants to use terminal services from a Windows workstation to manage a Linux server.
Which of the following should be installed on the Linux server to enable this functionality?

Question144: A Linux systems administrator is trying to execute a particular shell script on a server. The administrator reviews the following outputs:
shell
$ ./startup.sh
bash: ./startup.sh: Permission denied
$ ls -l startup.sh
-rw-rw-r-- 1 companyabc companyabc 18 October 15:35 startup.sh
Which of the following commands should the administrator use to allow the script to run?

Question145: A Linux administrator needs to forward port 8000 on a remote server to port 8000 on a local server. Which of the following commands should the administrator run on the local server to achieve this goal?

Question146: A systems administrator requires that all files that are created by the user named web have read- only permissions by the owner. Which of the following commands will satisfy this requirement?

Question147: An administrator needs to get network information from a group of statically assigned workstations before they are reconnected to the network. Which of the following should the administrator use to obtain this information?

Question148: A Linux administrator cloned an existing Linux server and built a new server from that clone. The administrator encountered the following error after booting the cloned server:

The administrator performed the commands listed below to further troubleshoot and mount the missing filesystem:

Which of the following should administrator use to resolve the device mismatch issue and mount the disk?

Question149: An administrator attempts to connect to a remote server by running the following command:
$ nmap 192.168.10.36
Starting Nmap 7.60 ( https://nmap.org ) at 2022-03-29 20:20 UTC Nmap scan report for www (192.168.10.36) Host is up (0.000091s latency).
Not shown: 979 closed ports
PORT STATE SERVICE
21/tcp open ftp
22/tcp filtered ssh
631/tcp open ipp
Nmap done: 1 IP address (1 host up) scanned in 0.06 seconds
Which of the following can be said about the remote server?

Question150: A member of the production group issues the following command:
echo "Monday through Friday" > /production_docs/days
The command fails to execute, so the user obtains the following output:
drwxr--r-- root production 0 Jun 16 2018 production
-rw-r--r-- production production 4096 Jun 14 2018 days
Which of the following commands should the user execute to BEST fix the issue?

Question151: A systems administrator was tasked with assigning the temporary IP address/netmask
192.168.168.1/255.255.255.255 to the interface eth0 of a Linux server.
When adding the address, the following error appears:
# ip address add 192.168.168.1/33 dev eth0
Error: any valid prefix is expected rather than "192.168.168.1/33".
Based on the command and its output above, which of the following is the cause of the issue?

Question152: A Linux administrator needs to run a command in the background of a terminal, Which of the following commands will BEST accomplish this task?

Question153: An administrator changed the default port of an SSH server to 2222 on myhost, and clients are not able to connect. The administrator runs some commands and receives the following output:
vbnet
Copy code
$ ssh -p 2222 myhost
ssh:connect to host myhost on port 2222: No route to host
Which of the following commands should be run on myhost?

Question154: While trying to access a website hosted on the server, the systems administrator receives the following error message:

The administrator then performs some diagnostics:

Which of the following commands should the administrator use to fix the issue?

Question155: A systems administrator creates a public key for authentication. Which of the following tools is MOST suitable to use when uploading the key to the remote servers?

Question156: A Linux systems administrator is troubleshooting an issue with the /home directory running out of space. The administrator needs to determine which /home directories are using the most space.
Which of the following commands should be used?

Question157: A Linux server hosts Kerberos and LDAP, which of the following is the MOST likely role of this server?

Question158: A Linux administrator must identify a user with high disk usage. The administrator runs the # du - s /home/* command and gets the following output:

Based on the output, User3 has the largest amount of disk space used. To clean up the file space, the administrator needs to find out more information about the specific files that are using the most disk space.
Which of the following commands will accomplish this task?

Question159: An engineer is working on a production application deployment that requires changing a web application property file called server.propertythat is managed by the Git version control system. A cloned copy of the remote repository in which the server.propertyfile exists is on the local desktop computer. The engineer makes appropriate changes to the files, saves it as server.property, and executes git commit -m "changed the property file" server.property. Which of the following commands did the engineer fail to perform?

Question160: A site reliability engineer updated the latest configuration management scripts and committed them to a workstream called either test or patch. A Linux administrator wants to ensure these latest workstreams are able to be retrieved to the server.
Which of the following is the BEST Git attribute to use?

Question161: A Linux administrator receives the following while attempting to remove a file:

Which of the following commands will resolve the issue?

Question162: A systems engineer is adding a new 1GB XFS filesystem that should be temporarily mounted under /ops/app.
Which of the following is the correct list of commands to achieve this goal?

Question163: A systems administrator is deploying three identical, cloud-based servers. The administrator is using the following code to complete the task:

Which of the following technologies is the administrator using?

Question164: Which of the following is considered best practices when using definition files for the provisioning of Linus servers to the cloud?

Question165: A user receives an access_denied error when trying to modify a file, even though the file permissions are set to 777. Which of the following commands should be used to view additional file permissions?

Question166: A user cannot write files to the /home/userdirectory. The junior Linux administrator runs the following commands:

Which of the following BEST represents why the user cannot write files?

Question167: A technician wants to configure a Unix server as a gateway firewall. The technician has implemented the proper ACLs and port address translation policies, but network traffic is not passing from the LAN to the WAN.
Which of the following should the technician configure to for this issue?

Question168: The group named support is unable to make changes to the config file. An administrator is reviewing the permissions and sees the following:
$ ls -l config
-rw-rw----. 1 root app 4682 02-15 11:25 config
Which of the following should the administrator execute in order to give the support group access to modify the file while preserving the current ownership?

Question169: Due to low disk space, a Linux administrator finding and removing all log files that were modified more than 180 days ago. Which of the following commands will accomplish this task?

Question170: A systems administrator is enabling quotas on the /home directory of a Linux server. The administrator makes the appropriate edits to the /etc/fstab file and attempts to issue the commands to enable quotas on the desired directory. However, the administrator receives an error message stating the filesystem does not support quotas.
Which of the following commands should the administrator perform to proceed?

Question171: One leg of an LVM-mirrored volume failed due to the underlying physical volume, and a systems administrator is troubleshooting the issue. The following output has been provided:

Given this scenario, which of the following should the administrator do to recover this volume?

Question172: Which of the following settings for umask ensures that new files have the default permissions -rw- r----- ?

Question173: In order to copy data from another VLAN, a systems administrator wants to temporarily assign IP address 10.0.6.5/24 to the newly added network interface enp1s0f1. Which of the following commands should the administrator run to achieve the goal?

Question174: An administrator has source code and needs to rebuild a kernel module. Which of the following command sequences is most commonly used to rebuild this type of module?

Question175: A four-drive Linux NAS has been improperly configured. Each drive has a capacity of 6TB, for a total storage capacity of 24TB. To reconfigure this unit to be not pluggable for drive replacement and provide total storage of 11TB to 12TB, which of the following would be the correct RAID configuration?

Question176: A systems administrator is cloning a system partition /dev/sda1 to /dev/sdc1. Which of the following commands would allow the administrator to accomplish this task most efficiently?

Question177: An administrator receives an alarm because the disk of one of the sewers is running out of space.
Which of the following commands can be used to see the space that each partition is using?

Question178: A user is asking the systems administrator for assistance with writing a script to verify whether a file exists. Given the following:

Which of the following commands should replace the <CONDITIONAL> string?

Question179: A systems administrator wants to back up the directory /data and all its contents to /backup/data on a remote server named remote.
Which of the following commands will achieve the desired effect?

Question180: Which of the following directories will help an administrator identify the specifications of a Linux server in term of resources?

Question181: A Linux administrator wants to find out whether files from the wget package have been altered since they were installed. Which of the following commands will provide the correct information?

Question182: A Linux administrator needs to run a few virtual machines and containers on the physical machines with a single network interface.
Which of the following networking would allow the administrator to connect with the outside world?

Question183: A Linux administrator updated the configuration file for the httpd web service. The administrator needs to apply the updated changes to the service without interrupting any running sessions.
Which of the following commands should the administrator run to accomplish this task?

Question184: A system administrator is setting up a cron job that will copy thousands files from a remote directory on a scheduled basic. The file contents should retain their original permissions, including and group ownership, and the cron job should run for the least amount of the possible.
Which of the following is the BEST program to use in this situation?

Question185: A security team discovers that a web server has been running with elevated privileges and identifies it as a security violation. Which of the following items needs to be added to the webserver.service file to remediate the issue?

Question186: An operator finds a user is having issues with opening certain files.
Which of the following commands would allow the security administrator to list and check the SELinux context?

Question187: An analyst is trying to determine which public IP addresses are managed by Company A, but the script is not working correctly.

Which of the following explains what is wrong with the script?

Question188: A junior developer is unable to access an application server and receives the following output:

The systems administrator investigates the issue and receives the following output:

Which of the following commands will help unlock the account?

Question189: A junior systems administrator created a new filesystem /dev/sda1 with mountpoint /data and added it to the /etc/fstab for auto-mounting.
When the systems administrator tries to mount the file system, the system refuses. Given the output below:

Which of the following steps is necessary?

Question190: Which of the following will MOST likely fix the issue?

Question191: A configuration management tool running every minute is enforcing the service HTTPd to be started. To perform maintenance, which of the following series of commands can be used to prevent the service from being started?

Question192: Which run levels should never be declared as the default run level when using SysV init?
(Choose TWO correct answers.)

Question193: A Linux engineer needs to create a custom script, cleanup.sh, to run at boot as part of the system services. Which of the following processes would accomplish this task?

Question194: A systems administrator wants to disable the isofsmodule on the server.
Which of the following will allow the administrator to check if the isofsmodule is currently in use?

Question195: An administrator is attempting to block SSH connections to 192.168.10.24 using the Linux firewall. After implementing a rule, a connection refused error is displayed when attempting to SSH to 192.168.10.24.
Which of the following rules was MOST likely implemented?

Question196: An administrator is uncomfortable allowing users to log in as root. Which of the following ensures that root logins are disallowed?

Question197: An administrator would like to measure possible packet loss between a workstation and a remote web application that is running on port 443. Which of the following would be the best command for the administrator to use to display this information?

Question198: A Linux administrator wants to configure log messages of critical or higher severity levels from the cron utility to be logged to the console. Which of the following will accomplish this objective?

Question199: An administrator needs to set the time of a VM that has no network connectivity to an NTP server.
The VM's host, however, is synchronized with NTP.
Which of the following allows the administrator to synchronize the time of the VM with the host?

Question200: A company wants to ensure that all newly created files can be modified only by their owners and that all new directory content can be changed only by the creator of the directory.
Which of the following commands will help achieve this task?

Question201: A Linux administrator needs to create a new cloud.cpio archive containing all the files from the current directory. Which of the following commands can help to accomplish this task?

Question202: A systems administrator is using a Linux laptop to troubleshoot network devices. The administrator runs the following command:
# screen /dev/USB0
Which of the following does this command MOST likely accomplish?

Question203: A Linux administrator looks at the /etc/timezone file and determines the need to change the time zone from California to New York temporarily.
Which of the following commands will accomplish this?

Question204: Using which of the following control mode commands is the correct way to substitute all occurrences of /dev/sdc with /dev/sdd while editing a file in vi?

Question205: A Linux administrator recently downloaded a software package that is currently in a compressed file. Which of the following commands will extract the files?

Question206: A systems administrator notices several intensive tasks executing from users Joe and Ann.
These processes are impacting server operations but must be allowed to continue running.
Which of the following commands should the systems administrator run to reduce the impact on the server?

Question207: A systems administrator needs to append output of ls -lha /optcommand to the contents of a test.txt file. Which of the following commands will accomplish this?

Question208: In which of the following filesystems are system logs commonly stored?

Question209: A developer is trying to install an application remotely that requires a graphical interface for installation. The developer requested assistance to set up the necessary environment variables along with X11 forwarding in SSH. Which of the following environment variables must be set in remote shell in order to launch the graphical interface?

Question210: Which of the following options describes the purpose of YAML?

Question211: A systems administrator is tasked with creating an Ansible playbook to automate the installation of patches on several Linux systems. In which of the following languages should the playbook be written?

Question212: Which of the following tools is BEST suited to orchestrate a large number of containers across many different servers?

Question213: A systems administrator is implementing disk quotas on /home. During the process, the administrator receives the following error:
Cannot find filesystem to check or filesystem not mounted with user
quota option.
Which of the following is the correct order of steps the administrator should follow to resolve this error?

Question214: A systems administrator is troubleshooting a connectivity issue pertaining to access to a system named db.example.com. The system IP address should be 192.168.20.88. The administrator issues the dig command and receives the following output:

The administrator runs grep db.example.com /etc/hosts and receives the following output:

Given this scenario, which of the following should the administrator do to address this issue?

Question215: A user is unable to log on to a Linux workstation. The systems administrator executes the following command:

The command results in the following output:

Which of the following should the systems administrator execute to fix the issue?

Question216: Users are unable to connect to a server using HTTPS. The administrator runs the following command on the remote system:

Then, the administrator runs the following command from a local workstation:

Which of the following steps should the administrator take to address the issue?

Question217: A Linux administrator is configuring a two-node cluster and needs to be able to connect the nodes to each other using SSH keys from the root account. Which of the following commands will accomplish this task?

Question218: A systems administrator is adding a Linux-based server and removing a Windows-based server from a cloud-based environment. The changes need to be validated before they are applied to the cloud-based environment. Which of the following tools should be used to meet this requirement?

Question219: An administrator would like to list all current containers, regardless of their running state. Which of the following commands would allow the administrator to accomplish this task?

Question220: A Linux systems administrator receives a notification that one of the server's filesystems is full.
Which of the following commands would help the administrator to identify this filesystem?

Question221: A systems administrator created a new directory with specific permissions. Given the following output:
# file: comptia
# owner: root
# group: root
user: : rwx
group :: r-x
other: :---
default:user :: rwx
default:group :: r-x
default:group:wheel: rwx
default:mask :: rwx
default:other ::-
Which of the following permissions are enforced on /comptia?

Question222: A systems administrator has retrieved the latest copy of the system backup files, which had been stored offsite at a third-party vendor. The systems administrator wants to validate that the data was not modified since the backup.
Which of the following would BEST verify that the data remained the same?

Question223: An administrator received a request from a security officer to eliminate a blacklisting set called internal-blockedthe company is using in the iptables firewall.
Which of the following commands will complete the task?

Question224: An administrator notices that a long-running script, /home/user/script.sh, is taking up a large number of system resources. The administrator does not know the script's function. Which of the following commands should the administrator use to minimize the script's impact on system resources?

Question225: Which of the following commands will display the operating system?

Question226: An administrator thinks that a package was installed using a snap. Which of the following commands can the administrator use to verify this information?

Question227: A Linux administrator is creating a primary partition on the replacement hard drive for an application server. Which of the following commands should the administrator issue to verify the device name of this partition?

Question228: A server is almost out of free memory and is becoming unresponsive.
Which of the following sets of commands will BEST mitigate the issue?

Question229: While troubleshooting server issues, a Linux systems administrator obtains the following output:
yaml
total used free shared buff/cache available
Mem: 3736 3538 33 2 48 25
Swap: 2047 1824 223
Which of the following best describes the state of the system?

Question230: A Linux administrator booted up the server and was presented with a non-GUI terminal. The administrator ran the command systemctl isolate graphical.target and rebooted the system by running systemctl reboot, which fixed the issue. However, the next day the administrator was presented again with a non-GUI terminal. Which of the following is the issue?

Question231: A user generated a pair of private-public keys on a workstation. Which of the following commands will allow the user to upload the public key to a remote server and enable passwordless login?

Question232: A Linux administrator wants to resolve a remote server name locally. When of the following files should the administrator modify?

Question233: An administrator has modified the configuration file for a service. The service is still running but is not using the new configured values. Which of the following will BEST remediate this issue?

Question234: Users are reporting that writes on a system configured with SSD drives have been taking longer than expected, but reads do not seem to be affected. A Linux systems administrator is investigating this issue and working on a solution. Which of the following should the administrator do to help solve the issue?

Question235: A systems administrator configured firewall rules using firewalld. However, after the system is rebooted, the firewall rules are not present:

The systems administrator makes additional checks:

Which of the following is the reason the firewall rules are not active?

Question236: An administrator is troubleshooting to determine why backups are failing on a particular server.
The administrator runs the ps command and analyzes the following output.

The administrator runs kill -9 10112 yet the process remains.
Which of the following BEST describes the issue and how to fix it?

Question237: A Linux systems administrator wants the ability to access systems remotely over SSH using RSA authentication. to which of the following files should the RSA token be added to allow this access?

Question238: A server, which is used to collect data about the network and datacenter environment via SNMP, is running out of space. Which of the following should the server administrator implement to reduce disk utilization?

Question239: A technician recently installed Linux on a desktop computer.
The desktop has two graphics cards from two different vendors. One of the graphics cards works, but the other does not.
Which of the following commands should the technician use to start troubleshooting this issue?

Question240: A Linux administrator wants to include a standard, hash_profile file whenever a new local user is created on Linux server.
Which of the following is the BEST location to place the file?

Question241: A Linux server needs to be accessed, but the root password is not available.
Which of the following would BEST allow an administrator to regain access and set a new known password at the same time?

Question242: An administrator transferred a key for SSH authentication to a home directory on a remote server.
The key file was moved to .ssh/authorized_keys location in order to establish SSH connection without a password. However, the SSH command still asked for the password. Given the following output:

Which of the following commands would resolve the issue?

Question243: A Linux administrator created the directory /project/access2all. By creating this directory, the administrator is trying to avoid the deletion or modification of files from non-owners. Which of the following will accomplish this goal?

Question244: A Linux server has multiple IPs. A Linux administrator needs to verify if the HTTP server port is bound to the correct IP.
Which of the following commands would BEST accomplish this task?

Question245: A server administrator is given the hash of an account password that needs to be synchronized across all servers.
Which of the following will allow the server administrator to configure the account password?

Question246: A junior systems administrator recently installed an HBA card in one of the servers that is deployed for a production environment. Which of the following commands can the administrator use to confirm on which server the card was installed?

Question247: A Linux systems administrator is working to obtain the installed kernel version of several hundred systems. Which of the following utilities should the administrator use for this task?

Question248: A systems administrator checked out the code from the repository, created a new branch, made changes to the code, and then updated the main branch. The systems administrator wants to ensure that the Terraform state files do not appear in the main branch. Which of following should the administrator use to meet this requirement?

Question249: The journald entries have filled a Linux machine's /var volume. Which of the following is the best command for a systems administrator to use to free up the disk space occupied by these entries?

Question250: Which of the following boot methods can a Linux administrator use to boot a Linux server remotely via a network interface card instead of a local disk?

Question251: A systems technician is configuring an application server to accept packets from a trusted source with the IP address 192.168.10.22. Which of the following commands will allow communication between the two servers?

Question252: What does the command mount -a do?

Question253: A systems administrator needs to install software packages on a server from an Internet-based repository. The server does not have Internet connectivity.
Which of the following can be used to allow the server to connect to the Internet through the systems administrator's desktop?

Question254: A systems administrator wants to check for running containers. Which of the following commands can be used to show this information?

Question255: A Linux administrator intends to start using KVM on a Linux server. Which of the following commands will allow the administrator to load the KVM module as well as any related dependencies?

Question256: A Linux administrator would like to use systemd to schedule a job to run every two hours. The administrator creates timer and service definitions and restarts the server to load these new configurations. After the restart, the administrator checks the log file and notices that the job is only running daily. Which of the following is MOST likely causing the issue?

Question257: A User on a Linux workstation needs to remotely start an application on a Linux server and then forward the graphical display of that application back to the Linux workstation. Which of the following would enable the user to perform this action?

Question258: The ability to add web servers dynamically during peak user activity and remove them when user activity decreases is an example of:

Question259: Based on an organization's new cybersecurity policies, an administrator has been instructed to ensure that, by default, all new users and groups that are created fall within the specified values below.

To which of the following configuration files will the required changes need to be made?

Question260: A Linux administrator deployed a large-scale application service as a containerized pod. The Linux administrator needs to continually send the application's log file to the company's central log store. Which of the following should the Linux administrator do to efficiently perform this task?

Question261: The dracutcommand is used to:

Question262: SIMULATION
You have been asked to parse a log file of logins to determine various information about who is logging in and when.
INSTRUCTIONS
Open and inspect the Login log file.
Drag and drop the correct commands onto the output that was generated from that command.
Tokens can be used only once and not all will be used.
If at any time you would like to bring back the initial state of the simulation, please click the Reset All button.

Question263: A user tries to log in to the Linux console and receives the following message:
Your account has expired; Please contact your system administrator.
Which of the following commands was MOST likely run to create this behavior?

Question264: SIMULATION
As a Systems Administrator, to reduce disk space, you were tasked to create a shell script that does the following:
Add relevant content to /tmp/script.sh, so that it finds and compresses rotated files in /var/log without recursion.
INSTRUCTIONS
Drag and drop snippets to fill the blanks to build a script that performs the actual compression of rotated log files.
If at any time you would like to bring back the initial state of the simulation, please click the Reset All button.

Question265: A systems administrator is tasked with setting up key-based SSH authentication. In which of the following locations should the administrator place the public keys for the server?

Question266: A Linux administrator installed a new network adapter and temporarily disabled the network service from starting on boot. The partial output of chkconfigis as follows:

Which of the following commands BEST describes how the administrator should re-enable the network service?

Question267: An administrator started a long-running process in the foreground that needs to continue without interruption. Which of the following keystrokes should the administrator use to continue running the process in the background?

Question268: Users have been unable to reach www.comptia.org from a Linux server. A systems administrator is troubleshooting the issue and does the following:

Based on the information above, which of the following is causing the issue?

Question269: Rugged appliances are small appliances with ruggedized hardware and like Quantum Spark appliance they use which operating system?

Question270: A Linux administrator needs the "tech" account to have the option to run elevated commands as root.
Which of the following commands would BEST meet this goal?

Question271: A Linux administrator needs to schedule a cron job to run at 1:15 p.m. every Friday to report the amount of free disk space on the system and to send the output to a file named "freespace".
Which of the following would meet this requirement?

Question272: Which of the following commands will let a Linux user know the PCI devices that are installed in the system?

Question273: A user created the following script file:
#!/bin/bash
# FILENAME: /home/user/script.sh
echo "hello world"
exit 1
However, when the user tried to run the script file using the command ~/script.sh, an error returned indicating permission was denied. Which of the following should the user execute in order for the script to run properly?

Question274: A new packages repository named repo10 has been installed on mirror site. A Linux administrator wants to use this new repository for local package installations. In which of the following locations should the administrator store the configuration information for the repo10 repository?

Question275: A Linux administrator wants a permission bit on a shared folder that allows only the owner of the file within that directory or the root user to delete or rename the file. Which of the following commands will help achieve this goal?

Question276: Which of the following tools is commonly used for creating CI/CD pipelines?

Question277: A Linux administrator has togged in to a server for the first time and needs to know which services are allowed through the firewall. Which of the following options will return the results for which the administrator is looking?

Question278: Which of the following is commonly implemented in external devices to provide unique event- based two-factor authentication credentials when a system is already implementing username and password authentication?

Question279: After starting an Apache web server, the administrator receives the following error:

Which of the following commands should the administrator use to further troubleshoot this issue?

Question280: An administrator is troubleshooting an application that has failed to start after the server was rebooted. Noticing the data volume is not mounted, the administrator attempts to mount it and receives this error:

Upon checking the logical volume status, the administrator receives this information:

Which of the following can be said about the data logical volume, and how can this problem be resolved?

Question281: Which of the following enables administrators to configure and enforce MFA on a Linux system?

Question282: An administrator is tasked with increasing the size of the volume /dev/vg/lv to 20GB. Which of the following BEST illustrates the steps the administrator should take?

Question283: A server administrator has scheduled a cron job to run YUM updates on all servers without manual intervention, but kernel packages must be excluded from the updates at all times. Which of the following configuration files needs to be modified to make these changes persistent?

Question284: A Linux administrator needs to harden a system and guarantee that the Postfix service will not run, even after a restart or system upgrade. Which of the following commands allows the administrator to fulfill the requirement?

Question285: Which of the following statements is correct when talking about /proc/?

Question286: A Linux administrator is installing a web server and needs to check whether web traffic has already been allowed through the firewall. Which of the following commands should the administrator use to accomplish this task?

Question287: A Linux administrator is tasked with moving files in a database server. The administrator must not overwrite any existing files. Which of the following commands would indicate that the file already exists?

Question288: An administrator has written the following Bash script:

All necessary files exist in the correct locations. However, when the administrator executes
/home/user/test.shthe following error is received:
No such file or directory
Which of the following is the MOST likely cause of the error?

Question289: A systems administrator wants to deploy several applications to the same server quickly. Each application should be abstracted from the host with its own dependencies and libraries and utilize a minimal footprint.
Which of the following would be BEST in this scenario?

Question290: A new user has been added to a Linux machine. Which of the following directories would contain the user's default files?

Question291: Joe, a system administrator, realizes that the time zone on a system is different than his local time zone. Joe runs the command export Tz-America .Chicago to resolve this. However the next Joe logs in, Joe notices the issue has returned.
Which of the following is the BEST way for Joe to fix this issue so the solution persists across logins?

Question292: A Linux administrator retrieved a repository of files from a Git server using git clone. The administrator wants to see if a configuration file was added to the repository. Which of the following Git arguments should be used to see the recent modifications?

Question293: A Linux administrator needs to configure a new firewall without an existing ACL to allow incoming web traffic. The firewall must log the allowed network traffic. Which of the following command sequences would accomplish this task when they are executed in order?
iptables -A INPUT -p tcp --dport 80 -J LOG

Question294: A Linux administrator is troubleshooting a memory-related issue. Based on the output of the commands:

Which of the following commands would address the issue?

Question295: A systems administrator installed a new software program on a Linux server. When the systems administrator tries to run the program, the following message appears on the screen.

Which of the following commands will allow the systems administrator to check whether the system supports virtualization?

Question296: A security administrator wants to display a warning banner before a user logs in.
Which of the following files must be edited to make this happen?

Question297: A Linux administrator is adding a new configuration file to a Git repository.
Which of the following describes the correct order of Git commands to accomplish the task successfully?

Question298: A junior Linux administrator needs to create 16 empty files quickly that will contain sales information for each quarter for the past four years.
Which of the following commands will meet this requirement?

Question299: A Linux administration is using a Linux system as a router. During the tests, the administrator discovers that IP packets are not being sent between the configured interfaces.
Which of the following commands enables this feature for IPv4 networks?

Question300: An administrator needs to look at a log for an application on a systemd-based system. There is no log for this application in /var/log. Which of the following is another way to view the application log on this system?

Question301: On a UEFI-based system, which of the following invokes GRUB2 from the EFI command prompt?